package com.qifan.energy.activity;

import android.os.Bundle;

import com.qifan.energy.base.BaseActivity;
import com.qifan.energy.R;
import com.qifan.energy.util.ActivityStackUtil;
import com.qifan.energy.util.IntentUtils;

import butterknife.OnClick;

public class PaySuccessActivity extends BaseActivity {

    /*@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
    }*/

    @Override
    protected int getLayoutId() {
        return R.layout.activity_pay_success;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        /* 更改状态栏 */
        changeStatusTransparentFontBlack();
    }

    @Override
    protected void initData() {

    }

    @OnClick(R.id.check_order_tv)
    void onCheckOrderTvClicked(){
        //结束到指定类名的Activity
        ActivityStackUtil.finishToActivity(ConfirmOrderActivity.class);
        IntentUtils.startActivity(this,MyOrderActivity.class);
    }

    @OnClick(R.id.buy_again_tv)
    void onBuyAgainTvClicked(){
        //结束到指定类名的Activity
        ActivityStackUtil.finishToActivity(ConfirmOrderActivity.class);
    }
}
